// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.

package com.hc.runConfig;

import com.intellij.execution.configurations.RunConfigurationOptions;
import com.intellij.openapi.components.StoredProperty;

public class DemoRunConfigurationOptions extends RunConfigurationOptions {

 private final StoredProperty<String> userName = string("").provideDelegate(this, "userName");

  private final StoredProperty<String> password = string("").provideDelegate(this, "password");


  public String getUserName() {
    return userName.getValue(this);
  }

  public void setUserName(String userName) {
    this.userName.setValue(this, userName);
  }

  public String getPassword() {
      //TODO 加密解密
    return password.getValue(this);
  }

  public void setPassword(String password) {
      //TODO 加密解密
    this.password.setValue(this, password);
  }

}
